﻿using System;
using System.ComponentModel.DataAnnotations;

namespace MiniSched.Data {

    [MetadataType(typeof(EmailAddress.MetaData))]    
    public partial class EmailAddress : IMiniSchedEntity {

        public class MetaData {

            [Required]
            [EmailAddress]
            public string Address { get; set; }
        }
    }
}
